package ooday02;
/** 测试类 */
public class Test {
    public static void main(String[] args) {
        Dog xb = new Dog("小短腿",5,"白");
        xb.drink();
        xb.eat();
        xb.lookHome();

        Chick xh = new Chick("黄焖鸡",2,"黄");
        xh.drink();
        xh.eat();
        xh.layEggs();

        Fish xy = new Fish("小玉",3,"红");
        xy.drink();
        xy.eat();
    }
}
